home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Medal Software 3
/
Gold Medal Software - Volume 3 (Gold Medal) (1994).iso
/
os2
/
objfac.arj
/
SOMOJECT.MTH
< prev
next >
Wrap
Text File
|
1994-01-08
|
2KB
|
278 lines
-- SOMObject Methods
--
-- Initialization/Termination Methods
somFree
somInit
somUninit
-- Access Methods
somGetClass
somGetClassName
somGetSize
-- Testing Methods
somIsA
somIsInstanceOf
somRespondsTo
-- Dynamic Methods
somDispatchA
somDispatchD
somDispatchL
somDispatchV
-- Development Support Methods
somDumpSelf
somDumpSelfInt
somPrintSelf
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Frees an object and releases its associated storage.
Initializes instance data in a newly created object.
Un-initializes an object, but does not release the storage associated with the object.
Gets a pointer to an object's class object.
Obtains the name of the class of an object.
Obtains the size of an object.
Determines if an object is an instance of a given class (or of one of its descendant classes).
Determines if an object is an instance of a specific class.
Indicates whether an object supports a given method.
Invokes a method using a dispatch mechanism. Returns a pointer from the invoked method.
Invokes a method using a dispatch mechanism. Returns a floating point value from the invoked method.
Invokes a method using a dispatch mechanism. Returns an integer value from the invoked method.
Invokes a method using a dispatch mechanism. Must be used for methods which do not return results.
Writes a detailed description of an object to (*SOMOutCharRoutine)(char).
Writes the internal state of an object to (*SOMOutCharRoutine)(char).
Writes a detailed description of an object to (*SOMOutCharRoutine)(char).